var houseDetails=({
	toLink : function (txt,tagrt){
		$.ajax({
			type : "POST",
			dataType : 'json',
			url : "../user/isLogin.do",
			data : {
			},
			success : function(data) {
				if(data.success){
					document.location.href = "./" + txt+houseId;
				}else{
//	 					alert(data.msg);
//	 				   window.location.href="./login.html?url="+encodeURIComponent(window.location.href);
					 $$.alert(data.msg, function () {
				          window.location.href="./login.html?url="+encodeURIComponent(window.location.href);
				    });
				}
			}
		});
		
	}
})